package com.douqu.game.auth.service;

import com.douqu.game.core.database.model.GMModel;
import com.douqu.game.core.web.response.BaseResponseDto;

import java.util.List;

/**
 * Created by bean on 2017/8/12.
 */
public interface GMService {

    int create(GMModel gmModel);

    int openOrClose(int id);

    BaseResponseDto update(GMModel gmModel);

    List<GMModel> findList();

    BaseResponseDto findByName(String username);

    GMModel findById(Integer id);

    BaseResponseDto login(String username, String password);
}
